package com.example.springclouduserservice.qualifier;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class TestConfiguration {

    @Qualifier
    @Bean("tesClass1")
    TestClass testClass1(){
        return new TestClass();
    }

    @Qualifier
    @Bean("tesClass2")
    TestClass testClass2(){
        return new TestClass();
    }
}
